/*********************************************************
*  Copyright (c) 2010 by Web Information Systems (WIS) Group.
*  Fabian Abel, http://fabianabel.de/
*
*  Some rights reserved.
*
*  Contact: http://www.wis.ewi.tudelft.nl/
*
**********************************************************/
package org.persweb.genius.model;

/**
 * A WeightedItem has a name/identifier and a weight.
 * 
 * @author Fabian Abel, <a href="mailto:f.abel@tudelft.nl">f.abel@tudelft.nl</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version created on Jan 21, 2011
 * @version $Revision: 1.1 $ $Date: 2011-01-25 18:46:41 $
 */
public class WeightedItem<WeightType>{
	public Long id = null;
	public String name = null;
	public WeightType weight = null;
	public WeightedItem(String name, WeightType weight) {
		super();
		this.name = name;
		this.weight = weight;
	}
	public WeightedItem(Long id, WeightType weight) {
		super();
		this.id = id;
		this.weight = weight;
	}
}
